package mapping

import (
	"demo/controller"

	"github.com/gin-gonic/gin"
)

func LoadMapping(r *gin.Engine) {
	cube := r.Group("cube")
	{
		test := cube.Group("test")
		{
			test.GET("/hello/:id", controller.Hello)
		}
		login := cube.Group("sys/login")
		{
			login.POST("/", controller.Login)
		}
	}
}
